<%@ page language="java" import="java.util.*,java.text.*" pageEncoding="utf-8"%>
<%@page import="issuedfileaction.DBConnection;"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>页面</title>
</head>  
  <body>
<%
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
	String sql=" select dt_mdealercode,dt_mdealername,dt_mfilename,dt_mtype,dt_mtranstime,dt_misrepeat,dt_morigfilelines,dt_morigfilesum,dt_mfilepath,dt_mfiletype,dt_mid from dtmonitor where dt_mfiletype='2' order by dt_mdealercode";
	HttpSession httpSession = request.getSession();
	DBConnection DB=new DBConnection();
	List<Object> ListRows = new ArrayList<Object>();
	ListRows=DB.SQLListExec(sql);	
	httpSession.setAttribute("filelist", ListRows);
	httpSession.setAttribute("beginDate", sdf.format(new Date()));
	httpSession.setAttribute("endDate", sdf.format(new Date()));
	httpSession.setAttribute("dealercode", "");
	httpSession.setAttribute("dealername", "");	
	httpSession.setAttribute("filetype", "2");
	httpSession.setAttribute("ReturnSQL", sql);	
	httpSession.setAttribute("alertvalue","");		
    response.sendRedirect("CheckIssue.jsp");		 
%>
  </body>
</html>
